package blackhouse_server;
import blackhouse_dao.addresult_dao;
import blackhouse_entity.*;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSON;


public class addresult_server {
	addresult_dao addresult_dao=new addresult_dao();
	public int addresult_server(String info) throws SQLException{
		List<ResultBean> resultInfo=JSON.parseArray(info,ResultBean.class);
		return addresult_dao.addresult_dao(resultInfo);
	}


}
